package com.itheima.stock.controller.v1;

import com.itheima.stock.api.UserControllerAPI;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController implements UserControllerAPI {

    @Override
    public String getName(@RequestParam("name") String name) {

        return "itheima";
    }
}